package com.work;

import java.util.ArrayList;
import java.util.List;

public class Service implements Dao{

    List<Dog> list = new ArrayList<Dog>();

    @Override
    public void delete(Integer dno) {

    }

    @Override
    public void select() {
        System.out.println("............");
        for (Dog dog : list) {
            System.out.println(dog);
        }
    }

    @Override
    public String update(Dog d) {
        return null;
    }

    @Override
    public void insert(Dog d) {

    }

    @Override
    public void setList(List<Dog> list) {
        this.list = list;
    }


}
